package com.atguigu.gmall.product.service;

import com.alibaba.fastjson.JSONObject;
import com.atguigu.gmall.model.product.*;

import java.util.List;

public interface BaseManageService {
    List<BaseCategory1> getBaseCategory1List();

    List<BaseCategory2> getCategory2List(Long category1Id);

    List<BaseCategory3> getCategory3List(Long category2Id);

    List<BaseAttrInfo> getBaseAttrInfoList(Long category1Id, Long category2Id, Long category3Id);

    void saveAttrInfo(BaseAttrInfo baseAttrInfo);

    List<BaseAttrValue> getBaseAttrValueList(Long attrId);

    List<BaseSaleAttr> getBaseSaleAttrList();

    BaseCategoryView getCategoryViewByCategory3Id(Long category3Id);

    List<JSONObject> getBaseCategoryList();
}
